import socket

class Sender:
	def __init__(self, socket):
		self.socket = socket
	def send(self, sendable):
		str = sendable.send().toxml()
		print str
		self.socket.sendall(str.encode("Latin-1"))
